<fieldset>
  <legend>微信支付</legend>
  <div class="form-group">
    <div class="col-md-3 control-label">
      <label>接口状态</label>
    </div>
    <div class="controls col-md-3 radios">
      {{ radios('wxpay_enabled', {1:'开启', 0:'关闭'}, payment.wxpay_enabled) }}
    </div>
    <div class="controls col-md-4 radios">
      <a target="_blank" href="http://kf.qq.com/faq/120911VrYVrA150905zeYjMZ.html">简单申请介绍</a>
    </div>
  </div>

  <div class="form-group" style="margin-top: -15px;">
     <div class="col-md-3 help-block">      
    </div>
    <div class="col-md-9 help-block">
      仅支持配置微信<a target="_blank" href="http://kf.qq.com/faq/120911VrYVrA150905zeYjMZ.html">公众号支付</a>，配置后，可在PC端和微信APP内选择微信支付。
    </div>
  </div>

  <div class="form-group">
    <div class="col-md-3 control-label">
      <label for="wxpay_key">公众号APPID</label>
    </div>
    <div class="controls col-md-8">
      <input type="text" id="wxpay_key" name="wxpay_key" class="form-control" value="{{payment.wxpay_key}}">
      <div class="help-block">公众号APPID来自<a target="_blank" href="https://mp.weixin.qq.com/">微信公众平台</a>内左侧栏【开发】-【基本配置】-【开发者ID】。</div>
    </div>
  </div>
  <div class="form-group">
    <div class="col-md-3 control-label">
      <label for="wxpay_account">商户号</label>
    </div>
    <div class="controls col-md-8">
      <input type="text" id="wxpay_account" name="wxpay_account" class="form-control" value="{{payment.wxpay_account}}">
      <div class="help-block">商户号来自<a target="_blank" href="https://mp.weixin.qq.com/">微信公众平台</a>内左侧栏【微信支付】-【商户信息】。</div>
    </div>
  </div>
  <div class="form-group">
    <div class="col-md-3 control-label">
      <label for="wxpay_secret">微信商户平台API密钥</label>
    </div>
    <div class="controls col-md-8">
      <input type="text" id="wxpay_secret" name="wxpay_secret" class="form-control" value="{{payment.wxpay_secret}}">
      <div class="help-block">
        请先到<a target="_blank" href="https://pay.weixin.qq.com">微信商户平台</a>【账户设置】-【API安全】中设置API密钥，密钥由32个数字和英文字符组合。
      </div>
    </div>
  </div> 
</fieldset>
